<%@ Assembly Name="Starznet.SharePoint.SPDAT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=74e3ac9236a77c47" %>
<%@ Page Language="C#" Inherits="Starznet.SharePoint.SPDAT.ApplicationPages.Administration.CreateFAAdministratorPage" MasterPageFile="~/_admin/admin.master" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="ELTitle" runat="server" Text="<%$Resources:szadm,CreateFAAdmin_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="ElTitle2" runat="server" Text="<%$Resources:szadm,CreateFAAdmin_PageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="ElDesc" runat="server" Text="<%$Resources:szadm,CreateFAAdmin_PageDesc%>" EncodeMethod='HtmlEncodeAllowSimpleTextFormatting' />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageImage" runat="server">
	<a href="http://www.starznet.co.uk" title="Visit the Starznet website" target="_blank">
	    <img src="/_layouts/Starznet/StarznetPageGraphic.gif" alt="Starznet Ltd" style="margin-top:3px;border:0px;"/>
	</a>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table class="propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
    <asp:label ID="AddUserError" runat="server" Visible="false" ForeColor="red" />
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,Global_WebAppLabel%>"
	    Description=""
	    runat="server">
       <Template_InputFormControls>
		    <wssuc:InputFormControl LabelText="<%$Resources:szadm,Global_WebAppLabel%>" runat="server">
			     <Template_Control>
                    <asp:Label ID="LblWebApp" runat="server" />
			     </Template_Control>
		    </wssuc:InputFormControl>
       </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,UserEdit_UsernameLabel%>"
		Description="<%$Resources:szadm,UserEdit_UsernameDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_UsernameLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox 
		                Title="<%$Resources:szadm,UserEdit_UsernameLabel%>" 
		                CssClass="ms-input" 
		                ID="TxtUsername" 
		                runat="server" 
		                MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtUsername"
			            ControlToValidate="TxtUsername"
			            ErrorMessage="<%$Resources:szadm,UserEdit_UsernameError%>" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,UserEdit_NameLabel%>"
		Description="<%$Resources:szadm,UserEdit_NameDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_FirstNameLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox 
		                Title="<%$Resources:szadm,UserEdit_FirstNameLabel%>" 
		                CssClass="ms-input" 
		                ID="TxtFirstName" 
		                runat="server" 
		                MaxLength="255" />
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_LastNameLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox 
		                Title="<%$Resources:szadm,UserEdit_LastNameLabel%>" 
		                CssClass="ms-input" 
		                ID="TxtSurname" 
		                runat="server" 
		                MaxLength="255" />
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,UserEdit_EmailLabel%>"
		Description="<%$Resources:szadm,UserEdit_EmailDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_EmailLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox 
		                Title="<%$Resources:szadm,UserEdit_EmailLabel%>" 
		                CssClass="ms-input" 
		                ID="TxtEmail" 
		                runat="server" 
		                MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtEmail"
			            ControlToValidate="TxtEmail"
			            ErrorMessage="<%$Resources:szadm,UserEdit_EmailError%>" 
			            runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection
        Title="<%$Resources:szadm,UserEdit_PasswordLabel%>"
		Description="<%$Resources:szadm,UserEdit_PasswordDesc%>"
		runat="server">
		<Template_InputFormControls>
            <wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_PasswordLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox 
	                    Title="<%$Resources:szadm,UserEdit_PasswordLabel%>" 
	                    CssClass="ms-input" 
	                    TextMode="Password" 
	                    ID="TxtPassword" 
	                    runat="server" />
			        <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtPassword"
			            ControlToValidate="TxtPassword"
			            ErrorMessage="<%$Resources:szadm,UserEdit_PasswordError%>" 
			            runat="server" />
			     </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_ConfirmPasswordLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox 
	                    Title="<%$Resources:szadm,UserEdit_ConfirmPasswordLabel%>" 
	                    CssClass="ms-input" 
	                    TextMode="Password" 
	                    ID="TxtConfirmPassword" 
	                    runat="server" />
			        <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtConfirmPassword"
			            ControlToValidate="TxtConfirmPassword"
			            ErrorMessage="<%$Resources:szadm,UserEdit_ConfirmPasswordError%>" 
			            runat="server" />
			        <SharePoint:InputFormCustomValidator
			            ID="CusValTxtConfirmPassword"
			            ControlToValidate="TxtConfirmPassword"
			            ErrorMessage="<%$Resources:szadm,UserEdit_ConfirmPasswordErrorCustom%>" 
			            runat="server" 
			            OnServerValidate="ValidatePassword" />
			     </Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection
        Title="<%$Resources:szadm,UserEdit_ReqQandALabel%>"
		Description="<%$Resources:szadm,UserEdit_ReqQandADesc%>"
		runat="server">
		<Template_InputFormControls>
            <wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_QuestionLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox 
	                    Title="<%$Resources:szadm,UserEdit_QuestionLabel%>" 
	                    CssClass="ms-input" 
	                    ID="TxtQuestion" 
	                    runat="server" 
	                    MaxLength="255" />
			     </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,UserEdit_AnswerLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox 
	                    Title="<%$Resources:szadm,UserEdit_AnswerLabel%>" 
	                    CssClass="ms-input" 
	                    ID="TxtAnswer" 
	                    runat="server" 
	                    MaxLength="255" />
			     </Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
	   <Template_Buttons>
		  <asp:Button UseSubmitBehavior="false" runat="server" CssClass="ms-ButtonHeightWidth" OnClick="BtnAdd_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnCreate" accesskey="<%$Resources:wss,okbutton_accesskey%>" CausesValidation="true"/>
	   </Template_Buttons>
    </wssuc:ButtonSection>
 </table>
</asp:Content>